from selenium.webdriver.common.by import By
# 配置文件
# 用户名元素
login_username = (By.ID, 'id_username')
# 密码元素
login_password = (By.ID, 'id_password')
# 登录按钮元素
login_button = (By.CSS_SELECTOR, '[value="登录"]')
# 获取结果元素
login_error_result = (By.CLASS_NAME, 'errornote')